package Thread;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86183
 * Date: 2023-01-08
 * Time: 20:41
 */
class MyRunnable implements Runnable{

    @Override
    public void run() {
        System.out.println("Hello Thread");
    }
}
public class Thread1 {
    public static void main(String[] args) {
        Runnable runnable = new MyRunnable();
        Thread t = new Thread(runnable);
        t.start();
    }
}
